/*------------全局样式-----------*/
html, body, ul, li, span, p, div,
a, form, input, button, img, h1,
h2, h3, h4, h5, h6, header, td,
th, dd, dl, tr, table, footer, main,
aside, article, section, select, option {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 100px;
}

body {
  font-size: 16px;
}

ul, li {
  list-style: none;
}

a {
  text-decoration: none;
}

/*app的样式*/
#app {
  width: 100%;
  height: 100vh;
}

/*tabbar*/
.tabbar {
  display: flex;
  height: 1rem;
  border-bottom: 1px solid black;
  position: fixed;
  width: 100%;
  background-color: white;
  z-index: 999;
  top:0;
  left: 50%;
  transform: translateX(-50%);
}

.mescroll {
  position: fixed;
  top: 1rem;
  /*一定不能少*/
  bottom: 0;
  height: auto;
  left: 50%;
  transform: translateX(-50%);

}

.tabbar-item {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .32rem;
}

.active {
  background-color: #25B2F1;
  color: white;
}


.goods {
  height: 2rem;
  display: flex;
  font-size: .32rem;
  border-bottom: 1px solid #ddd;
  color: #494949;
}

.img-wrap {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-wrap img {
  width: 80%;
}

.info-wrap {
  flex: 5;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
}

.goods-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.goods-price {
  font-size: .32rem;
  color: red;
  font-weight: bold;
}
